nested vmx: fix handling of RDTSC
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:56:21 +0000 (16:56 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:56:21 +0000 (16:56 +0000)
commit441fb37db42d856c2ea7a0f9022534133ff7870a
tree4c2ed99070c4ae7f94343d3d35d8c880e4317e47
parent3d605ee7378409ed1d52a0591df963313bb8b4c5
nested vmx: fix handling of RDTSC

If L0 is to handle the TSC access, then we need to update guest EIP by
calling update_guest_eip().

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/vmx/vmx.h